HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/dataplex/lakes/list.yaml
- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      List Dataplex lake resources under a project.
    description: |
      List all Dataplex lake resource under a specific project and location.
    examples: |
      To list all Dataplex lake resources in location `us-central`, run:

          $ {command} --project=test-project --location=us-central1

      To list all Dataplex lakes in all locations, run:

          $ {command} --project=test-project --location=-

  request:
    ALPHA:
      api_version: v1
    collection: dataplex.projects.locations.lakes
  arguments:
    resource:
      help_text: |
        Arguments and flags that define the Dataplex lake you want to list.
      spec: !REF googlecloudsdk.command_lib.dataplex.resources:location

  response:
    id_field: name
  output:
    format: |
      table(
        name.basename():label=NAME,
        displayName:label=DISPLAY_NAME,
        state:label=LAKE_STATUS,
        metastoreStatus.state:label=METASTORE_STATUS,
        metastore.service.basename():label=METASTORE,
        securityStatus.state:label=SECURITY_STATUS,
        assetStatus.activeAssets:label=ACTIVE_ASSETS,
        labels:label=LABELS
      )